package com.lagou.domain;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Article implements Serializable {


    /**
     * `id` int(11) NOT NULL AUTO_INCREMENT,
     *   `title` varchar(50) NOT NULL COMMENT '⽂章标题',
     *   `content` longtext COMMENT '⽂章具体内容',
     *   `created` date NOT NULL COMMENT '发表时间',
     *   `modified` date DEFAULT NULL COMMENT '修改时间',
     *   `categories` varchar(200) DEFAULT '默认分类' COMMENT '⽂章分类',
     *   `tags` varchar(200) DEFAULT NULL COMMENT '⽂章标签',
     *   `allow_comment` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否允许评论',
     *   `thumbnail` varchar(200) DEFAULT NULL COMMENT '⽂章缩略图',
     */
    private Integer id;
    private String title;
    private String content;
    private Date created;
    private Date modified;
    private String categories;
    private String tags;
    private Integer allowComment;
    private String thumbnail;

}
